package com.ruoyi.psi.purchase.order.domain;


import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;

/**
 * 采购订单详细表
 * psi_purchase_order_list
 * @author Drj 2021/6/28
 * 修改：lsy 2021.7.17
 */
public class PurchaseOrderList extends BaseEntity {

    /**
     * 采购订单编号
     */
    @NotNull(message = "采购订单编号不能为空")
    @ApiModelProperty(value = "采购订单编号", required = true)
    private String purchaseOrderId;
    /**
     * 产品编号
     */
    @NotNull(message = "产品编号不能为空")
    @ApiModelProperty(value = "产品编号", required = true)
    private String produceId;
    /**
     * 产品名称
     */
    @ApiModelProperty("产品名称")
    @Excel(name = "产品名称")
    private String produceName;
    /**
     * 类别编号
     */
    @ApiModelProperty("类别编号")
    @Excel(name = "类别编号")
    private String baseCategoryId;
    /**
     * 类别名称
     */
    @ApiModelProperty("类别名称")
    @Excel(name = "类别名称")
    private String baseCategoryName;
    /**
     * 计量单位编号
     */
    @ApiModelProperty("计量单位编号")
    @Excel(name = "计量单位编号")
    private String baseUnitId;
    /**
     * 计量单位名称
     */
    @ApiModelProperty("计量单位名称")
    @Excel(name = "计量单位名称")
    private String baseUnit;
    /**
     * 产品规格
     */
    @ApiModelProperty("产品规格")
    @Excel(name = "产品规格")
    private String produceSpecs;
    /**
     * 采购数量
     */
    @ApiModelProperty("采购数量")
    private double purchaseOrderNumber;
    /**
     * 采购单价
     */
    @ApiModelProperty("采购单价")
    private double purchaseUnitPrice;
    /**
     * 采购金额
     */
    @ApiModelProperty("采购金额")
    private double purchaseOrderPrice;
    /**
     * 已入库数量
     */
    @ApiModelProperty("已入库数量")
    private double purchaseStorageNumber;
    /**
     * 已入库金额
     */
    @ApiModelProperty("已入库金额")
    private double purchaseStoragePrice;
    /**
     * 入库状态
     * 0-未入库 1-入库
     */
    @ApiModelProperty("入库状态")
    private String purchaseOrderStatus;
    /**
     * 质检状态
     * 0-未检 1-已检
     */
    @ApiModelProperty("入库状态")
    private String inspectStatus;
    /**
     * 备注
     */
    @ApiModelProperty("备注")
    private String remark;
    /**
     * 采购申请单编号
     */
    private String purchaseApplyId;

    public String getPurchaseOrderId() {
        return purchaseOrderId;
    }

    public void setPurchaseOrderId(String purchaseOrderId) {
        this.purchaseOrderId = purchaseOrderId;
    }

    public String getProduceId() {
        return produceId;
    }

    public void setProduceId(String produceId) {
        this.produceId = produceId;
    }

    public String getProduceName() {
        return produceName;
    }

    public void setProduceName(String produceName) {
        this.produceName = produceName;
    }

    public String getBaseCategoryId() {
        return baseCategoryId;
    }

    public void setBaseCategoryId(String baseCategoryId) {
        this.baseCategoryId = baseCategoryId;
    }

    public String getBaseCategoryName() {
        return baseCategoryName;
    }

    public void setBaseCategoryName(String baseCategoryName) {
        this.baseCategoryName = baseCategoryName;
    }

    public String getBaseUnitId() {
        return baseUnitId;
    }

    public void setBaseUnitId(String baseUnitId) {
        this.baseUnitId = baseUnitId;
    }

    public String getBaseUnit() {
        return baseUnit;
    }

    public void setBaseUnit(String baseUnit) {
        this.baseUnit = baseUnit;
    }

    public String getProduceSpecs() {
        return produceSpecs;
    }

    public void setProduceSpecs(String produceSpecs) {
        this.produceSpecs = produceSpecs;
    }

    public double getPurchaseOrderNumber() {
        return purchaseOrderNumber;
    }

    public void setPurchaseOrderNumber(double purchaseOrderNumber) {
        this.purchaseOrderNumber = purchaseOrderNumber;
    }

    public double getPurchaseUnitPrice() {
        return purchaseUnitPrice;
    }

    public void setPurchaseUnitPrice(double purchaseUnitPrice) {
        this.purchaseUnitPrice = purchaseUnitPrice;
    }

    public double getPurchaseOrderPrice() {
        return purchaseOrderPrice;
    }

    public void setPurchaseOrderPrice(double purchaseOrderPrice) {
        this.purchaseOrderPrice = purchaseOrderPrice;
    }

    public double getPurchaseStorageNumber() {
        return purchaseStorageNumber;
    }

    public void setPurchaseStorageNumber(double purchaseStorageNumber) {
        this.purchaseStorageNumber = purchaseStorageNumber;
    }

    public double getPurchaseStoragePrice() {
        return purchaseStoragePrice;
    }

    public void setPurchaseStoragePrice(double purchaseStoragePrice) {
        this.purchaseStoragePrice = purchaseStoragePrice;
    }

    public String getPurchaseOrderStatus() {
        return purchaseOrderStatus;
    }

    public void setPurchaseOrderStatus(String purchaseOrderStatus) {
        this.purchaseOrderStatus = purchaseOrderStatus;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getPurchaseApplyId() {
        return purchaseApplyId;
    }

    public void setPurchaseApplyId(String purchaseApplyId) {
        this.purchaseApplyId = purchaseApplyId;
    }

    public String getInspectStatus() {
        return inspectStatus;
    }

    public void setInspectStatus(String inspectStatus) {
        this.inspectStatus = inspectStatus;
    }

    @Override
    public String toString() {
        return "PurchaseOrderList{" +
                "purchaseOrderId='" + purchaseOrderId + '\'' +
                ", produceId='" + produceId + '\'' +
                ", produceName='" + produceName + '\'' +
                ", baseCategoryId='" + baseCategoryId + '\'' +
                ", baseCategoryName='" + baseCategoryName + '\'' +
                ", baseUnitId='" + baseUnitId + '\'' +
                ", baseUnit='" + baseUnit + '\'' +
                ", produceSpecs='" + produceSpecs + '\'' +
                ", purchaseOrderNumber=" + purchaseOrderNumber +
                ", purchaseUnitPrice=" + purchaseUnitPrice +
                ", purchaseOrderPrice=" + purchaseOrderPrice +
                ", purchaseStorageNumber=" + purchaseStorageNumber +
                ", purchaseStoragePrice=" + purchaseStoragePrice +
                ", purchaseOrderStatus='" + purchaseOrderStatus + '\'' +
                ", inspectStatus='" + inspectStatus + '\'' +
                ", remark='" + remark + '\'' +
                ", purchaseApplyId='" + purchaseApplyId + '\'' +
                '}';
    }
}
